package com.longbo.leaf.portal.service;

import com.longbo.leaf.dto.UserRegisterDTO;
import com.longbo.leaf.portal.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author longbo
 * @since 2021-02-01
 */
public interface IUserService extends IService<User> {
   void userRegister(UserRegisterDTO userRegisterDTO);
   List<User> selectUserAll();
   void deleteUserByUserId(String userId);
   int updateByUserIdAndRoleIdInt(Long userId,Long roleId);
}
